package com.lm.ip2region.example;

import com.lm.ip2region.util.Ip2RegionUtil;

public class Ip2regionExample {
    public static void main(String[] args) {
        String ip = "14.215.177.38";
        String region = Ip2RegionUtil.getRegion(ip,false);

        System.out.println("IP: " + ip);
        System.out.println("Region: " + region);

        // 关闭资源
        Ip2RegionUtil.close();
    }
}
